home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / ABUSESRC.ZIP / AbuseSrc / macabuse / inc / chat.hpp < prev    next >
C/C++ Source or Header  |  1997-05-20  |  409b  |  23 lines

  1. #ifndef CHAT_HPP_
  2. #define CHAT_HPP_
  3.  
  4. #include "console.hpp"
  5.  
  6. class chat_console : public console
  7. {
  8.  
  9.   public :
  10.   int chat_event(event &ev) { if (!con_win) return 0; else return con_win==ev.window; }
  11.   void draw_user(char *st);
  12.   void put_all(char *st);
  13.   void clear();
  14.   chat_console(window_manager *WM, JCFont *font, int width, int height);
  15.   
  16. } ;
  17.  
  18. extern chat_console *chat;
  19.  
  20. #endif
  21.  
  22.  
  23.